package com.future.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.config.server.EnableConfigServer;

/**
 * 配置中心  git  新建仓库及三个配置文件 config-dev.yml、config-test.yml、config-prod.yml
 * <p>
 * host 文件增加映射  127.0.0.1 config-3344.com
 * 测试是否可以访问github的内容
 * <p>
 * http://config-3344.com:3344/master/config-dev.yml
 */
@SpringBootApplication
@EnableConfigServer
public class ConfigCenterMain3344 {
    public static void main(String[] args) {
        SpringApplication.run(ConfigCenterMain3344.class, args);
    }
}

